package com.ssm.controller;

import com.ssm.pojo.User;
import com.ssm.service.UserServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
public class UserController {

    private UserServiceImpl service;

    public void setService(UserServiceImpl service) {
        this.service = service;
    }

    @RequestMapping("/hello")
    public String list(){

        return "success";
    }


}
